package top.liubaiblog.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import top.liubaiblog.blog.pojo.Article;
import top.liubaiblog.blog.pojo.ArticleCollection;

import java.util.List;

/**
* @author 13326
* @description 针对表【ms_article_collection】的数据库操作Mapper
* @createDate 2022-12-10 15:15:17
* @Entity top.liubaiblog.blog.pojo.ArticleCollection
*/
public interface ArticleCollectionMapper extends BaseMapper<ArticleCollection> {

    /**
     * 查看指定用户收藏的文章列表
     */
    Page<Article> selectByParam(Page<Article> articlePage, @Param("userId") Long userId, @Param("sortName") String sortName);
}




